package xmldatabase;

import java.sql.SQLException;
import org.dom4j.DocumentException;

public class Xmldatabase {

    public static void main(String[] args) throws DocumentException, SQLException, ClassNotFoundException, Exception {
        
        //VisitMySql vs = new VisitMySql();
       // vs.Select();
       // Xmlconnection xc = new Xmlconnection();
        //dom4jXmlDemo domXml = new dom4jXmlDemo();
        //domXml.getDom();
       // domXml.addPhoneInfo();
        //domXml.updatePhoneInfo();
        //domXml.deletePhoneInfo();
       // domXml.showPhoneInfo();
       // login test =new login();
       // test.auth();
       // System.out.println(test.password);
       // InsertDB ID = new InsertDB();
       // ID.ins();
      //  Deleteuser deletetest = new Deleteuser();
       // deletetest.delete(12558);
     //   Updateuser updatetest = new Updateuser();
    //   Newuser usertest1;
     //   usertest1 = new Newuser(2, "78276968", "123452@qq.com", "F", 123,"Alice","123456sdg");
       // updatetest.update(usertest1);
        Newsinfo news = new Newsinfo(1,"法甲-大巴黎1-0小胜","Kevin","Kevin","赛季法甲联赛第8轮，巴黎圣日耳","已发布",2015,1,4,5,8,7,"体育","好");
       Newxml d4test = new Newxml();
       d4test.createXML(news);
           }
}
